package cn.huihui.miniprogram.stuman.database.mapper;

import cn.huihui.miniprogram.stuman.database.model.Student;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StudentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Student record);

    Student selectByPrimaryKey(Integer id);

    Student selectByStudentId(String studentId);

    List<Student> selectAll();

    int updateByPrimaryKey(Student record);
}